<div id="audit-do" >
	<div class="box-body" id="audit-previous">
		<h5>
			<strong>审批节点记录</strong>
		</h5>
		<table id="table-audit-nodes"
			class="table table-bordered table-striped table-condensed nopadding">
			<thead>
				<tr>
					<th>序号</th>
					<th>审批者</th>
					<th>所属部门</th>
					<th>审批时间</th>
					<th>审批状态</th>
					<th>审批意见</th>
				</tr>
			</thead>
			<tbody>
				<tr th:each="n,s:${auditnodes}">
					<td th:text="${s.count}"></td>
					<td th:text="${n.auditor.empLogin.name}"></td>
					<td th:text="${n.auditor.saleArea.superiorArea}"></td>
					<td
						th:text="${n.createTime!=null?#dates.format(n.createTime,'yyyy/MM/dd HH:mm'):''}"></td>
					<td th:if="${n.auditState=='通过'}"><span
						th:text="${n.auditState}" class="badge label-pill label-success"></span></td>					
					<td th:if="${n.auditState=='驳回'}"><span
						th:text="${n.auditState}" class="badge label-pill label-danger"></span></td>
					<td th:if="${n.auditState==null}"></td>
					<td th:text="${n.auditAdvice==null? '' :n.auditAdvice}" class="app-text-break"></td>
				</tr>
			</tbody>
		</table>
	</div>
	<form id="form-audit-advice">
		<div class="box-body">
			<div class="form-group">
				<label class="control-label">审批意见</label>
				<textarea class="form-control" id="auditAdvice"></textarea>
			</div>
			<div class="row">
				<div class="col-md-4">
					<button type="button"
						class="btn btn-success pull-center btn-block app-btn-pass">通过</button>
				</div>
				<div class="col-md-4">
					<button type="button"
						class="btn btn-danger  pull-center btn-block  app-btn-reject">驳回</button>
				</div>
				<div class="col-md-4">
					<a type="button" class="btn btn-info pull-center btn-block "
						href="javascript:history.go(-1)">返回</a>
				</div>
			</div>
		</div>
	</form>


</div>
